| lcPaint_PtbufAddWline | Home |
|
BOOL lcPaint_PtbufAddWline ( HANDLE hPtbuf, double X1, double Y1, double X2, double Y2, double Width, int Align, BOOL bArcCap, int Resol ); |
| hPtbuf | |
| Handle to points buffer. | |
| X1 Y1 | |
| Start point of direction line. | |
| X2 Y2 | |
| End point of direction line. | |
| Width | |
| Defines length of the side which is perpendicular to X1,Y1 - X2,Y2 line. | |
| Align | |
|
Defines an offset relative to X1,Y1 - X2,Y2 line: 0 - to left side, 1 - centered, 2 - to right side | |
| bArcCap | |
| If true, then the line has arc caps. | |
| Resol | |
|
Resolution for arcs (if exist). The value means a number of points per 360 degrees. Can be only the following vales: 0, 16, 32, 64, 128, 256, 512. | |
| If the function succeeds, the return value is nonzero (TRUE). |
| To know the number of points was added by this function, read the global property LC_PROP_G_PTBUFNEWPTS just after the function execution. |
| lcPaint_PtbufAddRect3 |